package com.ruoyi.life.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 水电明细对象 omp_fe_meter_bill
 *
 * @author yy
 * @date 2021-12-08
 */
@Data
@ApiModel
public class FeMeterBillVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    private String id;

    /** bill_num */
    @Excel(name = "bill_num")
    @ApiModelProperty(value = "bill_num")
    private String billNum;

    /** 企业id */
    @Excel(name = "企业id")
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;

    /** 抄表记录id */
    @Excel(name = "抄表记录id")
    @ApiModelProperty(value = "抄表记录id")
    private String checkMeterId;

    /** 仪表Id */
    @Excel(name = "仪表Id")
    @ApiModelProperty(value = "仪表Id")
    private String meterId;

    /** 账单起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "账单起始日期")
    private Date beginDate;

    /** 账单结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "账单结束日期")
    private Date endDate;

    /** 实用金额 */
    @Excel(name = "实用金额")
    @ApiModelProperty(value = "实用金额")
    private BigDecimal feeAmount;

    /** 分摊系数 */
    @Excel(name = "分摊系数")
    @ApiModelProperty(value = "分摊系数")
    private BigDecimal shareCoefficient;

    /** 分摊量 */
    @Excel(name = "分摊量")
    @ApiModelProperty(value = "分摊量")
    private BigDecimal shareQuantity;

    /** 总金额 */
    @Excel(name = "总金额")
    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    /** 分摊金额 */
    @Excel(name = "分摊金额")
    @ApiModelProperty(value = "分摊金额")
    private BigDecimal shareAmount;

    /** 园区id */
    @Excel(name = "园区id")
    @ApiModelProperty(value = "园区id")
    private String parkId;

    /** 标准类型(水表0,1电表) */
    @Excel(name = "标准类型(水表0,1电表)")
    @ApiModelProperty(value = "标准类型(水表0,1电表)")
    private String meterType;

    /** 费用周期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "费用周期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "费用周期")
    private Date feeCycle;

    /** 固废 */
    @Excel(name = "固废")
    @ApiModelProperty(value = "固废")
    private BigDecimal fixedFee;

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    /** 倍率 */
    //@Excel(name = "倍率")
    @ApiModelProperty(value = "倍率")
    private BigDecimal magnification;

    /** 实际用量 */
    @Excel(name = "实际用量")
    @ApiModelProperty(value = "实际用量")
    private BigDecimal actualDosage;

    /** 分摊池量 */
    @Excel(name = "分摊池量")
    @ApiModelProperty(value = "分摊池量")
    private BigDecimal shareInitialValue;

    /** 上期抄表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上期抄表日期", width = 30, dateFormat = "yyyy-MM-dd",sort=5)
    @ApiModelProperty(value = "上期抄表日期")
    private Date lastCheckDate;

    /** 上期读数 */
    @Excel(name = "上期读数",sort=3)
    @ApiModelProperty(value = "上期读数")
    private BigDecimal lastValue;

    /** 本期抄表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本期抄表日期", width = 30, dateFormat = "yyyy-MM-dd",sort=6)
    @ApiModelProperty(value = "本期抄表日期")
    private Date currentCheckDate;

    /** 本期读数 */
    @Excel(name = "本期读数",sort=4)
    @ApiModelProperty(value = "本期读数")
    private BigDecimal currentValue;

    /** 抄表人 */
    @Excel(name = "抄表人",sort=7)
    @ApiModelProperty(value = "抄表人")
    private String checkMan;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    //@Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    /** 当月分摊(总表设定值) */
    @Excel(name = "当月分摊(总表设定值)")
    @ApiModelProperty(value = "当月分摊(总表设定值)")
    private BigDecimal monthShare;

    /** 仪表编码 */
    @Excel(name = "仪表编码", sort = 1)
    @ApiModelProperty(value = "仪表编码")
    private String meterNum;

    //用途
    @ApiModelProperty(value = "仪表类别(总表,私表..)")
    private String category;
    //园区编号
    @ApiModelProperty(value = "园区编号")
    private String parkNum;

    //楼栋
    @ApiModelProperty(value = "楼栋编号")
    private String buildingNum;

    //@Excel(name = "位置")
    @ApiModelProperty(value = "位置")
    private String installPosition;

    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;


}
